package com.boot.web.dao;

import com.boot.web.entity.TodayCollageProfit;
import com.boot.base.dao.BaseDao;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

/**
 * 每日拼团返现余额数据层接口
 * @author 【zhouJie】
 * @date 2021-11-15 21:28:15
 */
public interface TodayCollageProfitDao extends BaseDao<TodayCollageProfit> {

    TodayCollageProfit queryByUserIdAndToday(@Param("userId") Integer userId, @Param("todayTime") String todayTime);

    List<TodayCollageProfit> queryByStatus();

    BigDecimal queryByUserIdAndStatus(Integer userId);

}
